Made by EliadeN - 2005

http://eliadengfx.free.fr
http://www.aqua-soft.org
http://CrystalXP.net


Two similar Visual Basic Scripts to work with sakurakira tutorial: No more extensions, a userChrome tutoria

link to Aqua-Soft.org thread:
http://www.aqua-soft.org/board/showthread.php?t=29651

Permanant link to sakurakira website
http://www.nightscrawl.net/firefox/




HOW TO :


Make 2 copies of your modified userChrome file. One with the menu code userChrome_noMenus.css, and one without userChrome_Menu.css
The copies must be userChrome_noMenus.css and userChrome_Menu.css, the caps matters
Actually, if you want a different name, just replace the filename in the script by what ever you want: only the first two lines of code will needed to be changed.


menu_switch_msg.vbs :
This script will replace/switch (or create if it doesn't exist) your userChrome.css
Switch between menu/noMenu
After it has replaced/switched the file a message box will tell if the menu was installed or removed


menu_switch.vbs :
Exactly like the previous one, but will do the replacing/switching silently (no message box)
All error messages will show up


It will look at the file size to check if the menu is installed or not
if userChrome.css does not match one or the other, the script won't do anything so your work won't be erased
you probably modified stuff in your userChrome.css.
You'll just need to delete the userChrome.css the script will create a new one with the menu (run the script again to remove the menu)


Place at least one of those to vbScript into the Firefox chrome folder:
"C:\Documents and Settings\(your user name)\Application Data\Mozilla\Firefox\Profiles\(random profile number).default\chrome"

Simply double click on the script to run it
If your are on Win XP SP2, you will probably be asked if you allow this script or not
Select "Authorize this script"
Trust me there is not virus in this script
Unless someone stupid has modified it and added a virus.

However I'm not responsible for anything...




Helpful Tips:
to make a keyboard shortcut, you just need to make a regular shortcut to the bscript, then by right clicking and going in the property window of it you are able to assign a keyboard shortcut (don't use one already used by the system or programs of course,  CTRL + SHIFT + letter  are usually very safe/unused ones and easy to do)




Copyright information:
Do what ever you want with those vbScript, I don't care. I just want to share them.
But please don't simply replace my pseudo with yours
